﻿<ribbon:RibbonTab x:Class="XWord.GUI.Views.Fundamental.ExplorersViewTabView"
			 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
			 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
			 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
			 xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
			 xmlns:shared="http://schemas.actiprosoftware.com/winfx/xaml/shared" 
			 xmlns:ribbon="http://schemas.microsoft.com/winfx/2006/xaml/presentation/ribbon"
             xmlns:cal="http://www.caliburnproject.org"
			 mc:Ignorable="d" Header="视图" 
			 d:DesignHeight="300" d:DesignWidth="300">

    <ribbon:RibbonGroup Header="视图列表">
        <ItemsControl ItemsSource="{Binding Presenters}">
            <ItemsControl.ItemTemplate>
                <DataTemplate>
                    <CheckBox IsChecked="{Binding IsInitialized,Mode=OneTime}" Click="CheckBox_Checked" Content="{Binding DisplayName}"/>
                </DataTemplate>
            </ItemsControl.ItemTemplate>
            <ItemsControl.ItemsPanel>
                <ItemsPanelTemplate>
                    <WrapPanel/>
                </ItemsPanelTemplate>
            </ItemsControl.ItemsPanel>
        </ItemsControl>
    </ribbon:RibbonGroup>

</ribbon:RibbonTab>
